# Methods added to this helper will be available to all templates in the application.
module ApplicationHelper
  
  # helper for menu for whole application
  # input: active_page - number of button which represent current page
  def menu(active_page, lang)
    render(:partial => "menu", :locals => {:current => active_page,
                                           :lang => lang})
  end
  
  def submenu(lang)
    render(:partial => "submenu", :locals => {:lang => lang})
  end
end
